package javaTeste.tSenao;

import java.bloco.Senao;
import java.variavel.Variavel;

import junit.framework.Assert;

import org.junit.Before;
import org.junit.Test;



public class TesteBlocoSe implements Especificacao {
	Senao senao=null;
	@Before
	public void up(){senao=new Senao();}
	
	@Test
	public void senaoVariavelInta() {
		senao.setLogica(new Variavel("int","a").codigoFonte());
		Assert.assertEquals("else{int a}", senao.codigoFonte());
	}

	
}